AngouriMath
AutoBackRollableTemporarySettingUnit
Description
Summary
This tiny struct is needed to be under `using` operator, so that your settings
are automatically rolled back on the end of your method
are automatically rolled back on the end of your method
using var _ = MathS.Settings.SomeSetting.Set(4);
// do something, once the method is ended, the setting is automatically returned to the initial statement
Members
Dispose
Method
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online